import Actions from './actions';
export interface IMainReducer {
  isReady: boolean;
  isLoading?: boolean;
  consigneeName: string;//收货人
  consigneeNumber: string;//收货人手机号码
  deliveryAddress: string;//详细地址
  isDefaltAddress: number;//是否默认地址:0: 否,1: 是
  deliveryAddressId: string;
  latitude: number;//纬度
  longitude: number;//经度
  areaIds: any[];
  areaInfo: string;
  pickerShow: boolean;
  provinceId: string;
  cityId: string;
  areaId: string;
}

export type ActionType = ReturnType<typeof Actions>;
export type IAllReducerProps = {
  main: IMainReducer;
  [name: string]: any;
};

export type IProps = IAllReducerProps & ActionType;

//自定义
export type IInfoProps = {};
export type IInfoState = {};
